package model

import "time"

type Category struct {
	ID         uint      `json:"id"`
	Name       string    `json:"name"gorm:"type:varchar(50);not null;unique"`
	CreateTime time.Time `json:"create_time"gorm:"type:timestamp"`
	UpdateTime time.Time `json:"update_time"gorm:"type:timestamp`
}
